package com.linoer.cloud.alo.accountservice;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = "com.linoer.cloud.alo.accountservice")
@MapperScan("com.linoer.cloud.alo.accountservice.mapper")
@DubboComponentScan("com.linoer.cloud.alo.accountservice.service")
@EnableTransactionManagement
@EnableDiscoveryClient
public class AccountServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(AccountServiceApplication.class, args);
    }

}
